﻿using GammaJul.ReSharper.GammaXaml.Caliburn;
using GammaJul.ReSharper.GammaXaml.Highlightings.Xaml;
using JetBrains.Annotations;
using JetBrains.ReSharper.Daemon;
using JetBrains.ReSharper.Psi.Resolve;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.TextControl.Markup;

[assembly: RegisterHighlighter(
	CaliburnPropertyBoundMarkOnGutter.Id,
	EffectType = EffectType.GUTTER_MARK,
	GutterMarkType = typeof(CaliburnPropertyGutterMark),
	Layer = HighlighterLayer.SYNTAX + 1)]

namespace GammaJul.ReSharper.GammaXaml.Highlightings.Xaml {

	[StaticSeverityHighlighting(Severity.INFO, HighlightingGroupIds.GutterMarksGroup, AttributeId = Id, OverlapResolve = OverlapResolveKind.NONE, ShowToolTipInStatusBar = false)]
	public class CaliburnPropertyBoundMarkOnGutter : CaliburnBoundMarkOnGutter {
		public const string Id = "Caliburn Bound To Property";

		public CaliburnPropertyBoundMarkOnGutter([NotNull] ITreeNode element, [NotNull] IReference reference)
			: base(element, reference) {
		}

	}

}